fix(getRange): nextStartPrimaryKey type incorrect#9
Conversation
Signed-off-by: Kevin Cui <bh@bugs.cc>
Summary by CodeRabbit
WalkthroughThe pull request modifies the Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Possibly related PRs
Pre-merge checks❌ Failed checks (1 inconclusive)
✅ Passed checks (1 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code graph analysis (1)src/operator/get-range.ts (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a type inconsistency in the GetRangeResponse interface by correcting the nextStartPrimaryKey field type from PlainBufferRow | null to Array<PlainBufferRow> | null.
- Aligns the type definition with the actual return value from
decodePlainBuffer(), which returns an array - Makes the type consistent with similar fields in other operator response interfaces (GetRow, PutRow, DeleteRow, UpdateRow)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.